package com.zzz.web.Data;

public class XandY {
    private float x;
    private float y;

    public enum Color {red, green, yellow}


    public XandY(float x, float y) {
        this.x = x;
        this.y = y;
    }

    public XandY() {
    }

    public float getX() {
        return x;
    }

    public void setX(float x) {
        this.x = x;
    }

    public float getY() {
        return y;
    }

    public void setY(float y) {
        this.y = y;
    }

    @Override
    public String toString() {
        return "XandY{" +
                "x=" + x +
                ", y=" + y +
                '}';
    }
}
